export interface studentInfoData{
    _id?:string | null,
    name:string,
    gender:string,//性别
    school?:string,//学校
    major?:string,//专业
    grade?:string,//年级
    education?:string,//学历
    direction:string,//学习方向
    id_number?:string,//身份证号
    phone?:string,//电话号码
    parent?:string,//家长姓名
    parent_phone?:string,//家长联系电话
    address?:string,//家庭住址
    qq?:string,//QQ号码
    class:string,//所在班级
    admission_date?:string,//入学时间
    teacher_id:string,//教师id
    manager_id:string,//学管id
    pictures?:string[],//照片数组
    note?:string,//备注信息
    __v?:number
}
// 查询信息类
interface searchMapData{
    name:string,
    direction:string,
    teacher_id?:string,
    major_id?:string,
    class:string
}
export interface studentListFormData{
    page:number,
    size:number,
    searchMap:searchMapData
  }
  export interface studentResponseData{
    status:number,
    data?: studentInfoData,
    msg?:string,
  }

  export interface studentAllResponseData{
    status:number,
    data?: studentInfoData[],
    msg?:string,
  }
  
  export interface studentListResponseData{
    status:number,
    data?: studentListData,
    msg?:string,
  }
  interface studentListData{
    data:studentInfoData[],
    total:number
  }
  // 图标用
  interface monthData{
    _id:string,
    count:number
  }
  export interface studentYearResponseData{
    status:string,
    data:monthData[]
  }